﻿using System;
using System.Collections.Generic;

using ApproveFlowEngine.Enums.Core;

using Volo.Abp.Application.Dtos;

namespace ApproveFlowEngine.Approve.DTO
{
    public class WorkNodeDto:EntityDto<Guid>
    {
        #region Public Properties
        public Guid? ParentId { get; set; }
        public Guid? ApproverId { get; set; }
        public bool Activity { get;  set; }
        public  ApproveNodeStatus Status { get; set; }
        public List<WorkNodeDto> Children { get; set; } = new List<WorkNodeDto>();
        public int Index { get; set; }
        public NodeType NodeType { get; set; }

        #endregion Public Properties
    }
}